package com.legoo.studaychineseonline.bean;

import java.util.List;

public class FavouriteListBean {

    /**
     * data : {"course_list":[{"id":"5c99ba5eedf32923b4769fe7","teacher":{"type":"teacher","nickname":"","id":"5c98a21fedf3291f04011950","phone":"","email":"mlzx@acord.cn","username":"teacher81","icon":""},"name_zh":"论语","category":{"id":"5c99dfb5edf329a89cfd7e91","name_zh":"二级分类四","name_en":"class BB"},"name_en":"lunyu"}]}
     * tag :
     * message : success
     * code : 0
     */

    private DataBean data;
    private String tag;
    private String message;
    private int code;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public static class DataBean {
        private List<CourseListBean> course_list;

        public List<CourseListBean> getCourse_list() {
            return course_list;
        }

        public void setCourse_list(List<CourseListBean> course_list) {
            this.course_list = course_list;
        }

        public static class CourseListBean {
            /**
             * id : 5c99ba5eedf32923b4769fe7
             * teacher : {"type":"teacher","nickname":"","id":"5c98a21fedf3291f04011950","phone":"","email":"mlzx@acord.cn","username":"teacher81","icon":""}
             * name_zh : 论语
             * category : {"id":"5c99dfb5edf329a89cfd7e91","name_zh":"二级分类四","name_en":"class BB"}
             * name_en : lunyu
             */

            private String id;
            private TeacherBean teacher;
            private String name_zh;
            private CategoryBean category;
            private String name_en;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public TeacherBean getTeacher() {
                return teacher;
            }

            public void setTeacher(TeacherBean teacher) {
                this.teacher = teacher;
            }

            public String getName_zh() {
                return name_zh;
            }

            public void setName_zh(String name_zh) {
                this.name_zh = name_zh;
            }

            public CategoryBean getCategory() {
                return category;
            }

            public void setCategory(CategoryBean category) {
                this.category = category;
            }

            public String getName_en() {
                return name_en;
            }

            public void setName_en(String name_en) {
                this.name_en = name_en;
            }

            public static class TeacherBean {
                /**
                 * type : teacher
                 * nickname :
                 * id : 5c98a21fedf3291f04011950
                 * phone :
                 * email : mlzx@acord.cn
                 * username : teacher81
                 * icon :
                 */

                private String type;
                private String nickname;
                private String id;
                private String phone;
                private String email;
                private String username;
                private String icon;

                public String getType() {
                    return type;
                }

                public void setType(String type) {
                    this.type = type;
                }

                public String getNickname() {
                    return nickname;
                }

                public void setNickname(String nickname) {
                    this.nickname = nickname;
                }

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getPhone() {
                    return phone;
                }

                public void setPhone(String phone) {
                    this.phone = phone;
                }

                public String getEmail() {
                    return email;
                }

                public void setEmail(String email) {
                    this.email = email;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }

                public String getIcon() {
                    return icon;
                }

                public void setIcon(String icon) {
                    this.icon = icon;
                }
            }

            public static class CategoryBean {
                /**
                 * id : 5c99dfb5edf329a89cfd7e91
                 * name_zh : 二级分类四
                 * name_en : class BB
                 */

                private String id;
                private String name_zh;
                private String name_en;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName_zh() {
                    return name_zh;
                }

                public void setName_zh(String name_zh) {
                    this.name_zh = name_zh;
                }

                public String getName_en() {
                    return name_en;
                }

                public void setName_en(String name_en) {
                    this.name_en = name_en;
                }
            }
        }
    }
}
